/* 容器宽度和内边距 */
.container {
  padding: 40px 20px;
  background-color: #f9f9f9; /* 浅灰色背景，符合微信风格 */
  box-sizing: border-box;
}

/* logo */
.logo {
  width: 100%;
  height: 200px;  /* 合适的高度 */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  background-color: #ffffff;  /* 背景色为白色 */
}
.logo-image {
  max-width: 80%;  /* 使 logo 最大宽度为容器的 80% */
  max-height: 100%;
  object-fit: cover;
}

@keyframes bounce {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

.logo-text {
  font-size: 38px;
  font-weight: bold;
  color: #07c160;
  text-align: center;
  animation: bounce 1s infinite ease-in-out; /* 文字上下跳动 */
  background: linear-gradient(45deg, #1aad19, #07c160); /* 渐变背景 */
  -webkit-background-clip: text;
  color: transparent; /* 文字本身透明 */
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  display: block;
}


/* 输入框样式 */
.input-group {
  margin-bottom: 20px;
}

.input-field {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  background-color: #ffffff;
  border: 1px solid #dcdcdc;  /* 边框为浅灰色 */
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

/* 验证码输入框与按钮 */
.captcha-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.captcha-input {
  flex: 1;
  min-width: 30%;
}

.captcha-canvas {
  width: 33%;
  height: 38px;
  border-radius: 4px;
  border: 1px solid #dcdcdc; /* 给 canvas 添加边框 */
  cursor: pointer;
  flex-shrink: 0;
  display: block;
  margin-left: 10px;
}

/* 错误提示 */
.error-msg {
  color: #ff4d4f; /* 红色 */
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}

/* 登录按钮 */
.login-btn {
  width: 100%;
  height: 48px;
  background-color: #0bb684; /* 微信风格的绿色 */
  color: #ffffff;
  border-radius: 4px;
  font-size: 16px;
  border: none;
  margin-top: 20px;
}

/* 注册链接 */
.signup-link {
  text-align: center;
  margin-top: 20px;
}

.register-btn {
  background: none;
  border: none;
  color: #1AAD19;  /* 微信风格的绿色 */
  font-size: 16px;
}